<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>My Grades</title>
</head>
<body>
    <h1>My Grades</h1>
    <ul>
        {% for enrollment in enrollments %}
        <li>{{ enrollment.course.CourseName }} - Grade: {{ enrollment.Grade }}</li>
        {% endfor %}
    </ul>
    <a href="{{ url_for('profile') }}">Back to Profile</a>
</body>
</html>
